package com.ruicar.afs.cloud.image.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruicar.afs.cloud.image.condition.ComAttachmentRuleCondition;
import com.ruicar.afs.cloud.image.entity.ComAttachmentRule;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 影像规则接口
 * @Author: tiankai
 * @Date: 2020/7/13 20:11
 */
public interface ComAttachmentRuleMapper extends BaseMapper<ComAttachmentRule> {

    /**
     * @Describe 附件规则信息查询(分页)
     * Created on 2020-07-15
     * @author tiankai
     */
    IPage<List<ComAttachmentRuleCondition>> getValueInfo(Page page, @Param("query") ComAttachmentRuleCondition condition);

    /**
     * @Describe 附件规则信息查询
     * Created on 2020-07-15
     * @author tiankai
     */
    ComAttachmentRuleCondition getValueInfo(@Param("query") ComAttachmentRuleCondition condition);
}
